CREATE TABLE [dbo].[TTUSUA_AUXI]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_USUA] [dbo].[TD_VC_008] NOT NULL,
[CO_AUXI_EMPR] [dbo].[TD_VC_020] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTUSUA_AU__CO_US__2937F6EB] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTUSUA_AU__FE_US__2A2C1B24] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTUSUA_AU__CO_US__2B203F5D] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTUSUA_AU__FE_US__2C146396] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTUSUA_AUXI] ADD CONSTRAINT [PK__TTUSUA_A__08593F8B54CC6066] PRIMARY KEY CLUSTERED  ([CO_EMPR], [CO_USUA], [CO_AUXI_EMPR]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTUSUA_AUXI] ADD CONSTRAINT [FK__TTUSUA_AU__CO_EM__0134F289] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
